import axios,{AxiosResponse} from 'axios'
import {IUser} from '@/utils/type'
export default{
    login:(data:IUser):Promise<AxiosResponse>=>axios.post('/users/login',data),
    getAccountList:():Promise<AxiosResponse>=>axios.get('/users/getAccountList')
}